package com.itcast.n1_内存调优;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

/**
 * @program: jvm
 * @description: springboot启动加参数 -Xmx500m
 * @author: flyduck
 * @create: 2024-10-16 17:17
 **/
@Lazy
@Component
public class Test13_内存遗漏问题4_单例模式尽量懒加载 {
    private byte[] bytes = new byte[1024 * 1024 * 1024];
}
